***Replication - Baseline and Mixed effects models - Tables B1 and B2***

***Open Gendered Justice_main data in STATA 18**
**DO NOT SAVE DATA after running do file - CEM command changes the data**

***Match men and women as the treatment varialble on similar cases***
cem Country const_crim proc_crim issue1 decade, treatment(femdef)

***Use cem_weights as iweights***

***Baseline model - Table B1***
logit libdecis_crim laglibpct  i.femdef i.const_crim i.proc_crim i.violent i.property i.drugs i.morality SA UK India Philip Canada [iweight=cem_weights], cluster(year)
fitstat

***MIXED EFFECTS LOGIT - Table B2***

melogit libdecis_crim laglibpct  i.femdef i.const_crim i.proc_crim i.violent i.property i.drugs i.morality  i.femdef##i.const_crim i.femdef##i.proc_crim i.femdef##i.violent i.femdef##i.property i.femdef##i.drugs i.femdef##i.morality SA UK India Philip Canada [iweight=cem_weights] ||year:
